using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter13
{
	/// <summary>
	/// Example02: Variation of g with Altitude h
	/// The International Space Station operates at an 
	/// altitude of 350 km. When final construction is completed, 
	/// it will have a weight (measured at the Earth's surface) 
	/// of 4.22 \times 10^6 N. What is its weight when in orbit?
	/// mg = 3.8 \times 10^6 N
	/// </summary>
	public class Example02
	{
		public Example02()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			double H = 350000.0;
			double r = 6378100.0;
			double ans = 4.22E6*r*r/(r+H)/(r+H);
			result+=Convert.ToString(ans);
		}
	}
}
